﻿$ie = New-Object -ComObject InternetExplorer.Application

$ie.Visible = $true
$ie.width = 800
$ie.Height = 600
$ie.Left = 100
$ie.Top = 100

$ie.navigate("http://cn.bing.com")
$ie.Document.getElementById('sb_form_q').value = 'input value'
$ie.Document.getElementById('search_icon')